package com.hz.beans.user.entity;

import com.hz.common.beans.entity.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "BaseRole", description = "角色")
public class BaseRole extends BaseEntity {
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "父角色ID", required = false)
    private Long parentId;

	@ApiModelProperty(value = "角色名称", required = false)
    private String name;

	@ApiModelProperty(value = "角色备注", required = false)
    private String remarks;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
}